import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"
import "./style.css"  //全局样式
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createRouter, createWebHashHistory } from "vue-router"
var route = [{
    path: "/",
    component: () => import("./components/Manager.vue")
}];
var router = createRouter({
    history: createWebHashHistory(),
    routes: route
});
var app = createApp(App)
app.use(ElementPlus)
app.use(router)
// 注册全局图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')
